package org.csu.mypetstore.api.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("orderstatus")
public class OrderStatus {
    @TableId(value = "orderid", type = IdType.INPUT)
    private int orderid;
    private int linenum;
    private Date timestamp;
    private String status;

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid( int orderid ) {
        this.orderid = orderid;
    }

    public int getLinenum() {
        return linenum;
    }

    public void setLinenum( int linenum ) {
        this.linenum = linenum;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp( Date timestamp ) {
        this.timestamp = timestamp;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus( String status ) {
        this.status = status;
    }
}
